import instance from "@/utils/http.js";

// 用户登录
export const  loginAPI = ({account,password}) =>{
     return  instance({
         url:'/login',
         method:'POST',
         data:{
             account,
             password
         }
     })
}


// 猜你喜欢
export const getLikeListAPI = ({ limit = 4 }) => {
    return instance({
        url:'/goods/relevant',
        params: {
            limit
        }
    })
}
